
const setStorage = (key, value) => {
	wx.setStorageSync(key, value)
}
 
const getStorage = (key) => {
	return wx.getStorageSync(key)
}
 
const removeStorage = (key, callback) => {
	wx.removeStorage({
		key: key,
		success(res) {
			callback && callback()
		}
	})
}
 
export {
	setStorage,
	getStorage,
	removeStorage
}